//
//  GoodsOrStoreNavView.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/8.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "GoodsOrStoreNavView.h"
#import "HeaderSearchView.h"

@implementation GoodsOrStoreNavView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self= [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor whiteColor];
        self.layer.cornerRadius = kHeightProportion_In_iPhoneTriploid(15);
        self.layer.masksToBounds = YES;
        //
        //        GLGWImageView *
        HeaderSearchView * headerView = [[HeaderSearchView alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(3), kHeightProportion_In_iPhoneTriploid(5), self.width-kWidthProportion_In_iPhoneTriploid(6), kHeightProportion_In_iPhoneTriploid(20))];
        [self addSubview:headerView];
    }
    return self;
}

@end
